package com.模板方法模式.流程模板;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/7/7 10:33
 * @description:
 * @version:
 */
public class Test2 {
    public static void main(String[] args) {
        AbsShape obj = new Circle();
        System.out.println(obj.process());
        AbsShape obj2 = new Rect();
        System.out.println(obj2.process());
    }
}
